package com.yxhl.zoume.data.tcp.modle;

/**
 * Created by vhawk on 12/13/16.
 */
public enum PassengerOrderStatus {
    PASSENGER_ORDER_STATUS_ORDER_CREATED(0,"派单中"),
    PASSENGER_ORDER_STATUS_ORDER_CANCEL(1,"订单已取消"),
    PASSENGER_ORDER_STATUS_ORDER_TOKEN(2,"接驾中"),
    PASSENGER_ORDER_STATUS_SCHEDULING(3,"行程中"),
    PASSENGER_ORDER_STATUS_BILL_RECEIVED(4,"去支付"),
    PASSENGER_ORDER_STATUS_BILL_PAIED(5,"去评价"),
    PASSENGER_ORDER_STATUS_COMPLETED(6,"订单完成");

    private int status;
    private String title;

    PassengerOrderStatus(int status, String title) {
        this.status = status;
        this.title = title;
    }

    public int getStatus() {
        return status;
    }

    public String getTitle() {
        return title;
    }
}
